<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="../assets/lib/layui/css/layui.css">
    <link rel="stylesheet" href="./css/list.css">
</head>

<body>
    <div class="layui-card">
        <div class="layui-card-header">文章列表</div>
        <div class="layui-card-body">
            <form class="layui-form" action="" id="search">
                <!-- 表格头部 -->
                <div class="layui-form-item">
                    <div class="layui-inline">
                        <div class="layui-input-inline" style="width: 200px;">
                            <select id="category" lay-verify="">
                                <option value="">请选择分类</option>
                            </select>
                        </div>
                        <div class="layui-form-mid">-</div>
                        <div class="layui-input-inline" style="width: 200px;">
                            <select id="state" lay-verify="">
                                <option value="">请选择状态</option>
                                <option value="已发布">已发布</option>
                                <option value="草稿">草稿</option>
                            </select>
                        </div>
                    </div>

                    <div class="layui-inline">
                        <div class="layui-input-inline" style="width: 100px;">
                            <button class="layui-btn" lay-submit lay-filter="formDemo">筛选</button>
                        </div>
                    </div>
                </div>
                <!-- 表格内容 -->
                <table class="layui-table">
                    <colgroup>
                        <col width="35%">
                        <col width="17%">
                        <col width="17%">
                        <col width="17%">
                        <col width="17%">
                        <col>
                    </colgroup>
                    <thead>
                        <tr>
                            <th>文章标题</th>
                            <th>分类</th>
                            <th>发表时间</th>
                            <th>状态</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <!-- <tr>
                            <td>人生就像是一场修行</td>
                            <td>八卦</td>
                            <td>2016-11-29 09:08:18</td>
                            <td>草稿</td>
                            <td>
                                <button type="button" class="layui-btn layui-btn-xs">编辑</button>
                                <button type="button" class="layui-btn layui-btn-danger layui-btn-xs">删除</button>
                            </td>
                        </tr>
                        <tr>
                            <td>于千万人之中遇见你所遇见的人，于千万年之中，时间的无涯的荒野里…</td>
                            <td>文绉绉</td>
                            <td>2016-11-29 09:12:18</td>
                            <td>发布</td>
                            <td>
                                <button type="button" class="layui-btn layui-btn-xs">编辑</button>
                                <button type="button" class="layui-btn layui-btn-danger layui-btn-xs">删除</button>
                            </td>
                        </tr> -->
                    </tbody>
                </table>
                <!-- 底部分页 -->
                <div id="page"></div>
            </form>
        </div>
    </div>

    <script src="../assets/lib/jquery.js"></script>
    <script src="../assets/lib/layui/layui.all.js"></script>
    <script src="../assets/js/common.js"></script>
    <script src="./js/list.js"></script>
</body>

</html>